// src\store\index.ts
import { defineStore } from "pinia"

const useStore = defineStore("main", {
  state: () => ({
    count: 0,
    isCollapse: true
  }),
  actions: {
    setIsCollapse(Collapse: boolean) {
      this.isCollapse = Collapse
    }
  }
})

export default useStore
